﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaGeoCenter;

using System.Drawing;


namespace FXnaGis
{
    public class FGdalLayer:FLayer
    {

        public FGdalLayer(string id)
            : base(id)
        {
 
        }


        public FGdalLayer(string id,string fname)
            : base(id)
        {
            this._fileName = fname;

            this._image = new GdalImage(_fileName);

            this._bitmap = this._image.GetBitmap();






        }


        protected override void DrawCore(FMapArgs args, List<DotSpatial.Data.Extent> regions)
        {
            base.DrawCore(args, regions);

            this._image.GetBitmap();


        }



        string _fileName;

        GdalImage _image;

        Bitmap _bitmap;



    }
}
